import React from "react"
import headStyle from "./head.module.css"
import SeachInput from "./seachInput"
import {Search} from "../api/index"
class Header extends React.Component {
    componentDidMount(){
        Search()
        .then(body=>body.json())
        .then(res=>{
        })
    }
    render() {
        return (
            <div className={headStyle.head}>
                <img className={headStyle.icon} src={require('../../../static/img/video01.png')} alt="MV"/>
                <SeachInput/>
                <img className={headStyle.icon} src={require('../../../static/img/play01.png')} alt="正在播放"/>
            </div>
        )
    }
}
export default Header